<?php 
$str=$_GET["q"];
$result = array('success' => true,'value'=> $str, 'msg' => 'thanh cong');
// echo $str;
echo json_encode($result);

?>